package com.zfk.transaction.service;

import com.zfk.transaction.entity.Seller;
import com.zfk.transaction.entity.User;

/**
 * Author : zfk
 * Date : 10:38
 */
public interface UserService {

    User login(String email, String password);

    Integer add(User user);

    User getByEmail(String email);

    int updateByEmail(String email, String password);

    Seller getById(int id);

    int updateUser(User user);
}
